﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace UHUModel
{
    /// <summary>
    ///By lvxiaojia
    ///Time:2012-08-13
    ///Description: Code Generine by CodeSmith
    /// </summary>
    [Serializable]
    [ActiveRecord("users")]
    public class Users
    {
        [PrimaryKey(Generator = PrimaryKeyType.Identity)]
        public int ID
        {
            get;
            set;
        }

        [Property("Name")]
        public string Name
        {
            get;
            set;
        }

        [Property("PinYin")]
        public string PinYin
        {
            get;
            set;
        }

        [Property("UserPortrait")]
        public string UserPortrait
        {
            get;
            set;
        }

        [Property("LoginName")]
        public string LoginName
        {
            get;
            set;
        }

        [Property("PassWord")]
        public string PassWord
        {
            get;
            set;
        }
        /// <summary>
        /// 账户类别 网站 手机 微博
        /// </summary>
        [Property("NameType")]
        public int NameType
        {
            get;
            set;
        }
        /// <summary>
        /// 用户信誉度
        /// </summary>
        [Property("Reputation")]
        public int Reputation
        {
            get;
            set;
        }
        /// <summary>
        /// 用户状态
        /// </summary>
        [Property("UserStatus")]
        public int UserStatus
        {
            get;
            set;
        }

        [Property("District_ID")]
        public int District_ID
        {
            get;
            set;
        }

        [Property("TelPhone")]
        public string TelPhone
        {
            get;
            set;
        }

        [Property("Tel")]
        public string Tel
        {
            get;
            set;
        }

        [Property("Birthday")]
        public System.DateTime Birthday
        {
            get;
            set;
        }

        [Property("Address1")]
        public string Address1
        {
            get;
            set;
        }

        [Property("Address2")]
        public string Address2
        {
            get;
            set;
        }

        [Property("Address3")]
        public string Address3
        {
            get;
            set;
        }

        [Property("Address_Floor")]
        public string Address_Floor
        {
            get;
            set;
        }

        [Property("Address_Room")]
        public string Address_Room
        {
            get;
            set;
        }

        [Property("RegDatetime")]
        public System.DateTime RegDatetime
        {
            get;
            set;
        }        
    }
}
